package com.zoffy.oj_backend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zoffy.oj_backend.common.PageRequest;
import com.zoffy.oj_backend.model.dto.questionSubmit.QuestionSubmitAddRequest;
import com.zoffy.oj_backend.model.dto.questionSubmit.QuestionSubmitQueryRequest;
import com.zoffy.oj_backend.model.dto.questionSubmit.QuestionSubmitTinyQueryRequest;
import com.zoffy.oj_backend.model.entity.QuestionSubmit;
import com.zoffy.oj_backend.model.vo.QuestionSubmitTinyVo;
import com.zoffy.oj_backend.model.vo.QuestionSubmitVo;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.PostMapping;

/**
* @author 86170
* @description 针对表【question_submit】的数据库操作Service
* @createDate 2024-02-19 00:29:02
*/
public interface QuestionSubmitService extends IService<QuestionSubmit> {

    IPage<QuestionSubmitTinyVo> listMyQuestionSubmitTinyVoByPage(HttpServletRequest request,QuestionSubmitTinyQueryRequest queryRequest);
    IPage<QuestionSubmitVo> listQuestionSubmitByPage(QuestionSubmitQueryRequest questionSubmitQueryRequest);
    Long doQuestionSubmit(QuestionSubmitAddRequest questionSubmitAddRequest, HttpServletRequest request);

}
